home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Ham Radio 2000 #2
/
Ham Radio 2000 - Volume 2.iso
/
HAMV2
/
TCP_IP
/
TNOS230D
/
DJGPP.TXT
next >
Wrap
Text File
|
1996-10-05
|
4KB
|
122 lines
Info on DJGPP
DJGPP is the GNU GCC compiler for MS-DOS. It includes it's own 32-bit
DOS Extender, allowing it to invisibly use *ALL* available
memory, of any kind (including virtual memory) that your DPMI-capable
memory manager can support. Most memory managers these days *do*
support DPMI, but a free one from the DJGPP project can be found in the
links below....
Since there are MANY download sights, and the TNOS crowd is an
international bunch, the info below will be pathname2 to the
various components, relative to the base directory on the machine you
use (simtel or one of its many mirrors).
The home page for DJGPP is http://www.delorie.com/djgpp, and
is a useful site, but not necessary. To get DJGPP, you will need to
either go to the Simtel site at
ftp://ftp.simtel.net/pub/simtelnet/gnu/vendors/djgpp,
or one of its mirrors sites. See the file 'mirrors.dj' for the locations
of the Simtel mirrors. Simtel is a VERY busy site, so you would probably
be wise to use a mirror site....
Once on a destination FTP site you will want one or more of the following:
* For just *running* TNOS under DJGPP
To run TNOS under DJGPP, you only need a DPMI-compatible memory manager.
If you need one, you will want to get:
* v2/readme.1st
This explains how to install DJGPP and get started with using it.
* v2/faq201b.zip
The latest edition of this FAQ list. Use it whenever you have
problems installing and using DJGPP.
* v2misc/csdpmi2b.zip
CWSDPMI, the DJGPP free DPMI server. (If you can get DPMI services
in your environment, like if you run under Windows, or QDPMI, or
OS/2, you don't need CWSDPMI, but I recommend to download it
nonetheless, so you can try it in case you have trouble with other
DPMI servers.)
* For *compiling* TNOS
To compile TNOS (or other programs) under DJGPP, you MUST download all
of the above, plus the following:
* v2gnu/bnu252b.zip
The GNU Binutils, including `as', the GNU assembler, and `ld', the
GNU linker, and their docs.
* v2/djdev200.zip
C header files, minimal development environment, DJGPP-specific
utilities and documentation.
* v2/djtst200.zip
A set of example programs to test your installation.
* v2gnu/gcc272b.zip
The GNU C Compiler binaries and docs (including the docs for the C++
compiler).
* v2gnu/txi360b.zip
Info, a stand-alone program to read GNU hypertext documentation
files, and an environment to produce such files. Without `info',
you cannot read the docs included with the GNU software tools.
* v2gnu/mak373b.zip
GNU Make program with its docs.
* For *Debugging* TNOS under DJGPP
* v2gnu/gdb412b.zip
GDB, the GNU Debugger and its docs. (Note that the `djdev'
distribution includes two simpler debuggers, `edebug' and
`fsdb.' The latter presents a user interface similar to that
of Turbo Debugger.)
There are many other applications out there, as well as the C++ portions
of DJGPP. Read the DJGPP FAQ (Section 4.5) for a complete list, or just
poke around on the archive.
--------------------------------------------------------------------------
For Linux cross-DJGPP development (compiling MSDOS DJGPP programs from the
Linux kernel, without needing to go into the Dos Emulator), you will
want to get *ALL* of the following, available via ftp at sunsite.unc.edu
in the /pub/Linux/devel/msdos directory:
* The cross-compiler - gcc-2.7.2.go32.tar.gz
* The compiler's include files - djdev200.go32.tar.gz
* The various support utilities - binutils-2.7.go32.tar.gz
(like the assembler, linker, etc.)
To cross-compile a DJGPP MSDOS executable under Linux, you just
do a 'make dos'. Also, a 'make tnos.exe' does the same but also strips out
the symbolic debugging info, making a MUCH smaller disk file.